import type { RouteObject } from 'react-router-dom';
import type { ReactNode } from 'react';

export type NavList = {
  key: string;
  icon: ReactNode;
  label: string;
  path: string;
};
export type HomeProps = {
  navList: NavList[];
  routeList: RouteObject[];
  // routeList: RouteObject[],
};
export type MenuInfo = {
  key: string;
  keyPath: string[];
  item: React.ReactElement;
  domEvent: React.MouseEvent<HTMLElement>;
};
